package zouran.exception;

import lombok.Getter;

/**
 * @author zouran
 * createDate：2024/8/6  23:47
 */
@Getter
public class MyRunTimeException extends RuntimeException {
    private int code;

    public MyRunTimeException(int code, String msg) {
        super(msg);
    }

    public MyRunTimeException(String msg) {
        super(msg);
        this.code = 400;
    }
}
